﻿using Zhaoxi.ReadingPlatform.WebSiteApi.Utility.Middleware;

internal static class DownloadImagesExtensionsHelpers
{
    public static IApplicationBuilder UseDownloadImages(this IApplicationBuilder app, string path)
        => app.UseMiddleware<DownloadImagesMiddleware>(path);
}